package com.systemframework.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author summer
 * @date 2023-03-21 17:32
 */
@Data
@TableName(value = "sys_log")
public class SysLog implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String versionNum;

    private String browserName;

    private String ip;

    private Integer userId;

    private String title;

    private Date createTime;

    private Long consuming;

    private String methodName;

    public SysLog(String versionNum, String browserName, String ip, Integer userId, String title,Long consuming,String methodName) {
        this.versionNum = versionNum;
        this.browserName = browserName;
        this.ip = ip;
        this.userId = userId;
        this.title = title;
        this.consuming=consuming;
        this.methodName=methodName;
    }
}
